WithFileBasedEntities(FileFormat, FilesystemStorageOptions, IFileSystem)

Method

Namespace: Diffstore

Declared in: Diffstore.DiffstoreBuilder<TKey, TValue>


Sets up the engine to use file-based entity storage.

Syntax

public DiffstoreBuilder<TKey, TValue> WithFileBasedEntities(
	FileFormat format,
	FilesystemStorageOptions options,
	IFileSystem fileSystem
)

Parameters

format

Specifies the FileFormat which will be used for serialization and deserialization.

options

If not null, overrides the default FilesystemStorageOptions .

fileSystem

If not null, uses the specified IFileSystem, otherwise uses what has been called before.


Back to index